package m.jclecai.com.adapter.holder;

import android.content.Context;
import android.support.annotation.LayoutRes;
import android.widget.TextView;

import butterknife.BindView;
import m.jclecai.com.R;
import m.jclecai.com.bean.LuckyWalkBean;

/**
 * Created by ZD on 2017/7/5.
 */

public class LuckyGiftHolder extends ViewHolder {
    @BindView(R.id.tv_time)
    TextView tvTime;
    @BindView(R.id.tv_title)
    TextView tvTitle;
    @BindView(R.id.tv_status)
    TextView tvStatus;

    public LuckyGiftHolder(Context context, @LayoutRes int resource) {
        super(context, resource);
    }

    public void init(LuckyWalkBean bean){
        tvTime.setText(bean.getAddtime());
        tvTitle.setText(bean.getTitle());
        tvStatus.setText("已发放");
    }
}
